package cn.ml.springmybatis3.mapper;

import cn.ml.springmybatis3.entity.XueYuan3;
import cn.ml.springmybatis3.entity.XueYuan3Example;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;


public class XueYuan3MapperImpl implements XueYuan3Mapper{

    private SqlSessionTemplate sqlSessionTemplate;

    public void setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate) {
        this.sqlSessionTemplate = sqlSessionTemplate;
    }

    @Override
    public long countByExample(XueYuan3Example example) {
        return 0;
    }

    @Override
    public int deleteByExample(XueYuan3Example example) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(XueYuan3 record) {
        return 0;
    }

    @Override
    public int insertSelective(XueYuan3 record) {
        return 0;
    }

    @Override
    public List<XueYuan3> selectByExample(XueYuan3Example example) {
        return sqlSessionTemplate.selectList("selectByExample",example);
    }

    @Override
    public XueYuan3 selectByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public int updateByExampleSelective(XueYuan3 record, XueYuan3Example example) {
        return 0;
    }

    @Override
    public int updateByExample(XueYuan3 record, XueYuan3Example example) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(XueYuan3 record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(XueYuan3 record) {
        return 0;
    }
}
